<?php

namespace Controller\Passport;

class Login extends \Controller\Base {

	public function actionIndex() {
		$this->setMeta('登录');
		$fromUrl = $this->getParam('fromurl');
		$fromUrl = urldecode($fromUrl);
		$fromUrl = $fromUrl ? $fromUrl : '/';
		$this->assign('fromUrl', $fromUrl);
		$this->display();
	}
}